//- Author: wang885298.
//- Date   : 2018/6/13.
//- File   : common.公共样式

html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-family: '微软雅黑'}
html *{outline:0;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:rgba(0,0,0,0);}
html, body {
  height: 100%;
  font-size: 10px;
  -webkit-overflow-scrolling: touch;
  -webkit-touch-callout:none;
  margin: 0;
  padding:0;
  overflow: hidden;
}
@baseWidth: 375px;
@baseFont: 10px;
html {
  font-size: @baseFont;  //默认当做320px宽度的屏幕来处理
}

@bps: 400px, 414px, 480px;

.loop(@i: 1) when (@i <= length(@bps)) {  //注意less数组是从1开始的
  @bp: extract(@bps, @i);
  @font: @bp/@baseWidth*@baseFont;
  @media only screen and (min-width: @bp){
    html {
      font-size: @font !important;
    }
  }
  .loop((@i + 1));
};
.loop;
body {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  min-width: 320px;
  font-size: 1.4rem;
  overflow: hidden;
}

//通用灰色背景
.bg-grey{
  background-color: #f1f1f1;
}

.mint-msgbox-message {
  line-height: 24px !important;
  padding: 10px 0;
}
.mint-msgbox-btn {
  font-size: 20px !important;
}
